package com.yhd.consumer;

import com.yhd.api.RpcHelloService;
import com.yhd.proxy.RpcProxy;

/**
 * @author 二十
 * @since 2022/5/2 12:26 上午
 */
public class RpcConsumer {


    public static void main(String[] args) {

        RpcHelloService rpcHello = RpcProxy.create(RpcHelloService.class);
        System.out.println(rpcHello.hello("尹会东"));

    }

}
